package com.becca.cake.service.system;

import com.becca.cake.model.system.DeptDO;

/**
 * 部门管理Service 
 * @author hejinguo
 * @version $Id: IUserDeptService.java, v 0.1 2013-12-2 上午12:40:06
 */
public interface IUserDeptService {
    /**
     * 根据员工部门ID查询对应的部门信息
     * @author hejinguo
     * @param depeId
     * @return
     * @throws Exception
     */
    String selectDeptTreeById(Long depeId) throws Exception;

    /**
     * 部门管理中根据ID查询部门信息
     * @author hejinguo
     * @param depeId
     * @return
     * @throws Exception
     */
    String selectDeptMsgById(String depeId) throws Exception;

    /**
     * 添加部门信息
     * @author hejinguo
     * @param functionDO
     * @throws Exception
     */
    void insetDept(DeptDO deptDO) throws Exception;

    /**
     * 修改部门信息
     * @author hejinguo
     * @param functionDO
     * @throws Exception
     */
    void updateDeptById(DeptDO deptDO) throws Exception;

}
